<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:c="http://java.sun.com/jstl/core">

	<h:form>
		<div id="menu-general">
			<ul id="general" class="">
					<h:panelGroup rendered="#{autenticacaoView.gestor}">
						<li class=""><h:commandLink value="Usuários do Sistema" action="#{usuarioView.iniciar}" /></li>
						<li class=""><h:commandLink value="Patrimonio" action="#{patrimonioView.iniciar}" /></li>
						<li class=""><h:commandLink value="Alocar Patrimonio" action="#{requisicaoView.listaAlocarReq}"/></li>
						<li class=""><h:commandLink value="Requisição" action="#{requisicaoView.iniciar}" /></li>
						<li class=""><h:commandLink value="Emitir Relatorio de Patrimonio" action="#{patrimonioView.listaPatGest}" /></li>
						<li class=""><h:commandLink value="Lista Alocação Patrimonio" action="#{alocacaoPatrimonioView.iniciar}" /></li>
						<li class=""><h:commandLink value="Sair" action="#{autenticacaoView.logoff}" /></li>
					</h:panelGroup>
					<h:panelGroup rendered="#{autenticacaoView.gerente}">
						<li class=""><h:commandLink value="Requisição" action="#{requisicaoView.iniciar}" /></li>
						<li class=""><h:commandLink value="Validar Requisição " action="#{requisicaoView.listaValitarReq}"/></li>
						<li class=""><h:commandLink value="Emitir Relatorio de Patrimonio" action="#{patrimonioView.listaPatGest}" /></li>
						<li class=""><h:commandLink value="Sair" action="#{autenticacaoView.logoff}" /></li>
					</h:panelGroup>
					<h:panelGroup rendered="#{autenticacaoView.funcionario}">
						<li class=""><h:commandLink value="Requisição" action="#{requisicaoView.iniciar}" /></li>
						<li class=""><h:commandLink value="Sair" action="#{autenticacaoView.logoff}" /></li>
					</h:panelGroup>
					
			</ul>
				
		</div>
	</h:form>
</ui:composition>